.post_card .like-btn .reaction-box {
  position: absolute;
  display: none;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 320px;
  height: 54px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 27px;
  left: -10px;
  bottom: 40px;
  padding: 0 12px;
  white-space: nowrap !important;
  z-index: 1000;
}

.post_card .like-btn:hover .reaction-box,
.post_card .like-btn .reaction-box:hover {
  display: flex !important;
}

.post_card .reaction-icon.angry:not(.visible) {
  animation-fill-mode: both;
  animation-duration: 1.3s;
  animation-iteration-count: infinite;
  animation-name: headShake;
  animation-timing-function: ease-in-out;
  background-position: 0px 0px;
}

.post_card .reaction-icon.haha:not(.visible) {
  animation-fill-mode: both;
  animation-duration: 1.3s;
  animation-iteration-count: infinite;
  animation-name: swing;
  transform-origin: top center;
  background-position: 0px -80px;
}

.post_card .reaction-icon.like:not(.visible) {
  animation-fill-mode: both;
  animation-duration: 1.3s;
  animation-iteration-count: infinite;
  animation-name: bounce;
  transform-origin: center bottom;
  background-position: 0px -120px;
}

.post_card .reaction-icon.love:not(.visible) {
  animation-fill-mode: both;
  animation-duration: 1.3s;
  animation-iteration-count: infinite;
  animation-name: heartBeat;
  animation-timing-function: ease-in-out;
  background-position: 0px -160px;
}

.post_card .reaction-icon.sad:not(.visible) {
  animation-fill-mode: both;
  animation-duration: 1.3s;
  animation-iteration-count: infinite;
  animation-name: fadeInDown;
  background-position: 0px -200px;
}

.post_card .reaction-icon.wow:not(.visible) {
  animation-fill-mode: both;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-name: pulse;
  animation-timing-function: ease-in-out;
  background-position: 0px -240px;
}

.post_card .reaction-icon.angry {
  background-position: 0px 0px !important;
}

.post_card .reaction-icon.haha {
  background-position: 0px -80px !important;
}

.post_card .reaction-icon.like {
  background-position: 0px -120px !important;
}

.post_card .reaction-icon.love {
  background-position: 0px -160px !important;
}

.post_card .reaction-icon.sad {
  background-position: 0px -200px !important;
}

.post_card .reaction-icon.wow {
  background-position: 0px -240px !important;
}

.post_card .reaction-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url('../images/reactions.png') no-repeat;
  background-size: 40px 280px;
  border-radius: 50%;
  text-align: center;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 1;
  transform: translate(0, 0) scale(1);
  flex-shrink: 0;
  cursor: pointer;
}

@keyframes bounce {

  from,
  20%,
  53%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -2px, 0) scaleY(1.1);
  }

  70% {
    transform: translate3d(0, -1px, 0) scaleY(1.05);
  }

  80% {
    transform: translate3d(0, 0, 0) scaleY(0.95);
  }

  90% {
    transform: translate3d(0, -1px, 0) scaleY(1.02);
  }
}

@keyframes heartBeat {

  0%,
  28%,
  70% {
    transform: scale(1);
  }

  14%,
  42% {
    transform: scale(1.05);
  }
}

@keyframes swing {

  20%,
  80% {
    transform: rotate3d(0, 0, 1, 2deg);
  }

  40%,
  to {
    transform: rotate3d(0, 0, 1, -2deg);
  }

  60% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

@keyframes pulse {

  from,
  to {
    transform: scale3d(1, 1, 1);
  }

  50% {
    transform: scale3d(1.05, 1.05, 1.05);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 1;
    transform: translate3d(0, -5%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes headShake {

  0%,
  50% {
    transform: translateX(0);
  }

  6.5%,
  43.5% {
    transform: translateX(-2px) rotateY(-9deg);
  }

  18.5% {
    transform: translateX(1px) rotateY(7deg);
  }

  31.5% {
    transform: translateX(-1px) rotateY(-5deg);
  }
}

.post_card .reaction-icon label {
  padding: 3px 5px 3px 5px;
  position: relative;
  top: -24px;
  border-radius: 10px;
  font-size: 11px;
  color: #FFF;
  background: #333;
  visibility: hidden;
}

.post_card .like-btn:hover .reaction-box {
  display: block;
}

.post_card .like-btn:hover .reaction-icon.show {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.post_card .like-btn:hover .reaction-icon:hover {
  transform: scale(1.4);
  transform-origin: bottom;
  animation: none;
}

.post_card .like-btn:hover .reaction-icon:hover label {
  visibility: visible;
}

.post_card .reaction-icon.visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(0.7);
}

.post_card .reaction-icon.add_reaction_one:not(.like):not(.love):not(.haha):not(.wow):not(.sad):not(.angry) {
  display: none !important;
}

.socio-skeleton {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin: 15px 0;
  padding: 15px;
  position: relative;
  overflow: hidden;
}

.socio-skeleton::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, #e0e0e0 50%, transparent 100%);
  animation: load 1.5s infinite;
}

.skeleton-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.skeleton-avatar {
  width: 50px;
  height: 50px;
  background: #f0f0f0;
  border-radius: 50%;
  margin-right: 10px;
}

.skeleton-body {
  flex-grow: 1;
}

.skeleton-content {
  margin-bottom: 10px;
}

.skeleton-line {
  height: 10px;
  background: #f0f0f0;
  margin-bottom: 10px;
  border-radius: 4px;
}

.skeleton-line-half {
  width: 50%;
}

.skeleton-line-quarter {
  width: 25%;
}

.skeleton-image {
  height: 200px;
  background: #f0f0f0;
  border-radius: 4px;
}

@keyframes load {
  0% {
    left: -150px;
  }

  100% {
    left: 100%;
  }
}

.daytime_message {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.btn-close {
  position: absolute;
  right: 15px;
  top: 15px;
}

.greeting-icon {
  font-size: 40px;
  color: #ffc107;
}

.post_counter a,
.post_counter i {
  font-size: 11px;
  color: #999;
}

#post_holder .nav .nav-item .nav-link {
  font-weight: bold;
  color: #555;
}



.post-promo a.great-job {
  background: #f35555;
  color: #fff;
}

.post-promo a.coffee {
  background: #b17244;
  COLOR: #FFF;
}

.post-promo a:hover {
  opacity: 0.6;
}

.post_card {
  border-bottom: 3px solid #dddfe2 !important;
}

.verified_circle,
.post_card .verified_circle,
.post_card.media-card-style .card-header.head .verified_circle,
.post_card.media-card-style .card-header.head i.verified_circle {
  color: #7bbb5e !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  padding: 0px !important;
  height: 20px !important;
  width: 20px !important;
  position: absolute !important;
  bottom: 4px !important;
  right: 1px !important;
  text-align: center !important;
  line-height: 20px !important;
  font-size: 15px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
  text-shadow: none !important;
  z-index: 5 !important;
}

.add_story_box:before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: rgb(0 0 0 / 22%);
}

.post_card .head .avatar,
.post_card .avatar {
  position: relative;
}

.post_card .head .avatar img,
.post_card .avatar img,
.post_card .avatar-img,
.avatar-img {
  width: 42px !important;
  height: 42px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

.add_story_box .add_btn {
  z-index: 999;
}

.add_story_box a {
  border: 2px solid #FFF;
}

.post_highlighter {
  background: #000;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1031;
  bottom: 0%;
  opacity: .6;
  transition: opacity .3s;
  display: none;
}

.post_active {
  z-index: 1033;
}



.color-wigdet {
  padding-bottom: 10px
}

.color-sec {
  position: relative;
  overflow: hidden;
  min-height: 22px
}

.color_list_container {
  display: none;
  /* Start hidden */
  position: relative;
  /* Or absolute, depending on your layout */
  left: -100%;
  /* Start off-screen to the left */
  width: 100%;
  /* Adjust as necessary */
  /* Other styling as needed */
}

.color-sec ul {

  -webkit-transition: .8s ease;
  transition: .8s ease
}

.color-sec .close-color {
  color: #1d2130 !important;
  background-color: #eeeff3;
  text-align: center
}

.color-sec .close-color i {
  font-size: 22px;
  line-height: 19px;
  margin-left: -1px
}

.color-sec .togglemenu {
  color: #1d2130 !important;
  background-color: #eeeff3;
  text-align: center
}

.color-sec li {
  float: left;
  list-style: none;
}

.color-sec div {
  -webkit-border-radius: 50px;
  border-radius: 50px;
  cursor: pointer;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.55);
  -webkit-box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.55);
  height: 20px;
  margin: 4px;
  width: 20px
}

.color-sec div.active {
  border: 0;
  box-shadow: inset 0 0 0 2px #fff, 0 0 4px 0 rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 0 0 2px #fff, 0 0 4px 0 rgba(0, 0, 0, 0.3)
}

#color-child-sec {
  overflow: hidden
}

#color-child-sec ul li {
  float: left
}

#color-child-sec ul li:first-child {
  margin-left: 0
}

#color-child-sec div {
  -webkit-border-radius: 50px;
  border-radius: 50px;
  cursor: pointer;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.15);
  height: 20px;
  margin: 4px;
  width: 20px
}

#color-child-sec div.active {
  border: 0;
  box-shadow: inset 0 0 0 2px #fff, 0 0 4px 0 rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 0 0 2px #fff, 0 0 4px 0 rgba(0, 0, 0, 0.3)
}

._23ju {
  background: #c600ff
}

._23jo {
  background: #fff
}

._2j78 {
  background: #111111
}

._2j79 {
  background: linear-gradient(45deg, #ff0047 0%, #2c34c7 100%)
}

._2j80 {
  background: linear-gradient(45deg, #fc36fd 0%, #5d3fda 100%)
}

._2j81 {
  background: linear-gradient(45deg, #5d6374 0%, #16181d 100%)
}

._2j82 {
  background: #00a859
}

._2j83 {
  background: #0098da
}

._2j84 {
  background: #3e4095
}

._2j85 {
  background: #4b4f56
}

._2j86 {
  background: #161616
}

._2j87,
._2j88,
._2j89,
._2j90 {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom
}



#privacydropdown li {
  padding: 5px 5px;
  /* border-bottom: 1px solid #494e8f; */
}

#privacydropdown li:last-child {
  padding: 5px 5px;
}

/* textarea#m_pst_txt {
  /* background: transparent; 
} 
*/
.clr_pst {
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.2em !important;
  color: #fff;
  padding: 160px 27px !important;
  text-align: center !important;
}


/* Bootstrap3 is required for default styling */
.translate-post,
.hide-translation,
.txt-translate,
.translate-comment,
.hide-translation-sm {
  font-size: 12px;
  color: #c1bfbf;
}

.read-more {
  font-size: 13px;
  color: grey
}

.comment-time {
  font-size: 10px;
}

.commentor-name {
  font-size: 14px;
}

.commentdata .translated {
  font-size: 12px;
}

.translate-comment {
  color: grey !important;
}

.nav .nav-item .nav-link {
  font-size: 14px;
  font-weight: 500;
}

.nav-link .icon {
  margin-right: 20px !important;
  width: 20px;
  height: 20px;
}

.header-icon {
  width: 20px;
  height: 20px;
}

.user_avatar {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
}


/* Hide Sidebar on Small Screens */
@media (max-width: 768px) {
  .left_sidebar {
    /* left: -260px; */
    top: 0;
  }

  .left_sidebar.active {
    left: 0;
    top: 0;
  }
}

.reply_list_main {
  margin: 0;
  padding-left: 40px;
  /* Adjust indentation for replies */
}

.reply-item {
  margin: 0;
  padding: 5px 0;
  /* Reduce spacing */
}

.comment-item .d-flex {
  gap: 5px;
  /* Reduce gap between avatar and comment */
}

.commentdata {
  padding: 8px 12px;
  /* Adjust padding */
  margin-bottom: 5px;
  /* Reduce bottom margin */
}

.nav-divider {
  margin-top: 3px;
  /* Reduce spacing between comment and actions */
}

.comment-item .avatar,
.reply-item .avatar {
  width: 32px;
  /* Adjust avatar size */
  height: 32px;
}

.comment-item .avatar img,
.reply-item .avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.reply_list_main {
  margin: 0;
  padding-left: 40px;
  /* Adjust indentation for replies */
}

.reply-item {
  margin: 0;
  padding: 5px 0;
  /* Reduce spacing */
}

.comment-item .d-flex {
  gap: 5px;
  /* Reduce gap between avatar and comment */
}

.commentdata {
  padding: 8px 12px;
  /* Adjust padding */
  margin-bottom: 5px;
  /* Reduce bottom margin */
}

.nav-divider {
  margin-top: 3px;
  /* Reduce spacing between comment and actions */
}

.comment-item .avatar,
.reply-item .avatar {
  width: 32px;
  /* Adjust avatar size */
  height: 32px;
}

.comment-item .avatar img,
.reply-item .avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.suggestions-box {
  display: none;
  background: white;
  border: 1px solid #ddd;
  z-index: 999;
  max-height: 150px;
  overflow-y: auto;
  width: 100%;
  left: 0;
  top: 100%;
}

.suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}

/* ==========================================================================
   Improved Modern Post Design (matching improvedpostdesign.html)
   ========================================================================== */

:root {
  --ipd-blue: #2563eb;
  --ipd-soft: #eff6ff;
  --ipd-bg: #eef2f7;
  --ipd-text: #172033;
  --ipd-muted: #667085;
  --ipd-line: #e4e9f0;
  --ipd-card-bg: #ffffff;
  --ipd-border: rgba(225, 230, 238, 0.9);
  --ipd-shadow: 0 14px 34px rgba(30, 50, 80, 0.07);
  --ipd-pill-bg: #f8fafc;
}

[data-bs-theme="dark"],
[data-theme="dark"],
body.dark-mode,
.dark-mode,
.dark {
  --ipd-blue: #3b82f6;
  --ipd-soft: rgba(59, 130, 246, 0.15);
  --ipd-bg: #0b1320;
  --ipd-text: #f8fafc;
  --ipd-muted: #94a3b8;
  --ipd-line: rgba(255, 255, 255, 0.1);
  --ipd-card-bg: #151f2e;
  --ipd-border: rgba(255, 255, 255, 0.08);
  --ipd-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  --ipd-pill-bg: #0d1520;
}

.post_card.card, .post_card {
  background: var(--ipd-card-bg) !important;
  border: 1px solid var(--ipd-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--ipd-shadow) !important;
  overflow: visible !important;
  margin-bottom: 10px !important;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.post_card .card-header.head,
.post_card .head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 17px 18px 10px;
  background: transparent !important;
  border-bottom: none !important;
}

.post_card .head .avatar,
.post_card .avatar {
  position: relative;
}

.post_card .head .avatar img,
.post_card .avatar-img {
  width: 42px;
  height: 42px;
  object-fit: cover;
}

.post_card .identity {
  flex: 1;
  min-width: 0;
}

.post_card .identity .name,
.post_card .name {
  font-weight: 800;
  color: var(--ipd-text);
  font-size: 15px;
}

.post_card .identity .name a {
  color: var(--ipd-text) !important;
  text-decoration: none;
}

.post_card .identity .name a:hover {
  color: var(--ipd-blue) !important;
}

.post_card .verified {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--ipd-blue);
  color: #fff;
  font-size: 10px;
  vertical-align: middle;
}

.post_card .meta {
  margin-top: 4px;
  color: var(--ipd-muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.post_card .meta a {
  color: var(--ipd-muted) !important;
  text-decoration: none;
}

.post_card .meta a:hover {
  color: var(--ipd-blue) !important;
}

.post_card .menu-btn,
.post_card button.menu {
  border: 0;
  background: transparent;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--ipd-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.post_card .menu-btn:hover,
.post_card button.menu:hover {
  background: var(--ipd-soft);
  color: var(--ipd-blue);
}

/* Share note header */
.post_card .share-note {
  margin: 0 18px 10px;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--ipd-pill-bg);
  color: var(--ipd-muted);
  font-size: 13px;
  border: 1px solid var(--ipd-line);
}

.post_card .share-note strong,
.post_card .share-note a {
  color: var(--ipd-text);
  font-weight: 700;
  text-decoration: none;
}

/* Post text content */
.post_card .post-copy,
.post_card .card-body-text {
  padding: 0 18px 14px;
  line-height: 1.55;
  color: var(--ipd-text);
  font-size: 15px;
}

/* Shared / Nested post card */
.post_card .nested {
  margin: 6px 5px 5px !important;
  border: 1px solid var(--ipd-line) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: var(--ipd-card-bg) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

.post_card .nested-head {
  display: flex !important;
  align-items: center !important;
  padding: 12px 14px 8px !important;
}

.post_card .nested-head .avatar img {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.post_card .nested-head .name a {
  font-weight: 700 !important;
  color: var(--ipd-text) !important;
  font-size: 14px !important;
  text-decoration: none !important;
}

.post_card .nested-head .meta a {
  color: var(--ipd-muted) !important;
  font-size: 12px !important;
}

.post_card .nested .inner_post,
.post_card .nested-text,
.post_card .nested-text-content {
  padding: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: var(--ipd-text) !important;
}

.post_card .nested .inner_post .short-text,
.post_card .nested .inner_post .full-text,
.post_card .nested .short-text,
.post_card .nested .full-text,
.post_card .nested-text-content .short-text,
.post_card .nested-text-content .full-text {
  color: var(--ipd-text) !important;
}

.post_card .nested .inner_post .read-more {
  color: var(--ipd-blue) !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
}

.post_card .nested .translate-post {
  display: inline-block !important;
  font-size: 12px !important;
  color: var(--ipd-muted) !important;
  margin-top: 4px !important;
  text-decoration: none !important;
}

.post_card .nested .image-grid-wrapper {
  margin-bottom: 0 !important;
  border-radius: 0 0 14px 14px !important;
  overflow: hidden !important;
}

/* Media area */
.post_card .media {
  background: #e8edf3;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  margin: 0 18px 12px;
}

.post_card .nested .media {
  margin: 0;
  border-radius: 0;
}

.post_card .media img,
.post_card .media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.post_card .media:hover img {
  transform: scale(1.015);
}

/* Engagement Stats */
.post_card .stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px 10px;
  color: var(--ipd-muted);
  font-size: 13px;
  border-top: 1px solid var(--ipd-line);
}

.post_card .stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Reaction Badges Stack */
.reaction-badges-stack {
  display: inline-flex !important;
  align-items: center !important;
}

.reaction-badges-stack .reaction-badge {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 11px !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
}

.reaction-badges-stack .badge-heart {
  background: linear-gradient(135deg, #ff416c, #ff4b2b) !important;
  z-index: 2 !important;
}

.reaction-badges-stack .badge-like {
  background: linear-gradient(135deg, #1877f2, #3b82f6) !important;
  margin-left: -8px !important;
  z-index: 1 !important;
}

[data-bs-theme="dark"] .reaction-badges-stack .reaction-badge,
.dark-mode .reaction-badges-stack .reaction-badge,
.dark-theme .reaction-badges-stack .reaction-badge {
  border-color: #18191c !important;
}

/* Actions Grid & Reaction Formatting */
.post_card .actions {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
  margin: 0 14px;
  padding: 5px 0;
  /* border-top: 1px solid var(--ipd-line); */
  border-bottom: 1px solid var(--ipd-line);
}

.post_card .actions > div {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.post_card .actions button,
.post_card .actions .action-btn {
  border: 0;
  background: transparent;
  border-radius: 11px;
  padding: 10px 6px;
  cursor: pointer;
  color: var(--ipd-muted);
  font-weight: 500 !important;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.post_card .actions .label,
.post_card .actions span {
  font-weight: 500 !important;
}

.post_card .actions button:hover,
.post_card .actions .action-btn:hover,
.post_card .actions button.active,
.post_card .actions .action-btn.active {
  background: var(--ipd-soft);
  color: var(--ipd-blue);
}

.post_card .actions .like_action {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}

.post_card .actions .like_action .add_reaction_one.visible {
  display: inline-block !important;
  width: 40px !important;
  height: 40px !important;
  background-image: url('../images/reactions.png') !important;
  background-repeat: no-repeat !important;
  background-size: 40px 280px !important;
  transform: scale(0.58) !important;
  transform-origin: center center !important;
  margin: -8px -6px !important;
  opacity: 1 !important;
  flex-shrink: 0 !important;
}

.post_card .actions .like_action .first_action {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* Post Promo Award Pills */
/* Promo / Award Badges Container */
.post_card .post-promo-wrapper {
  padding: 6px 18px 0px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

.post_card .post-promo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

.post_card .post-promo .btn,
.post_card .post-promo a {
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 6px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease !important;
}

.post_card .post-promo .btn:hover,
.post_card .post-promo a:hover {
  transform: translateY(-2px) scale(1.02) !important;
}

/* Light Theme Award Badges */
.post_card .post-promo .coffee {
  background: #fff7ed !important;
  color: #ea580c !important;
  border: 1px solid #ffedd5 !important;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.08) !important;
}

.post_card .post-promo .coffee:hover {
  background: #ffedd5 !important;
  border-color: #fed7aa !important;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.16) !important;
}

.post_card .post-promo .great-job {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border: 1px solid #fee2e2 !important;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.08) !important;
}

.post_card .post-promo .great-job:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.16) !important;
}

.post_card .post-promo .advertisement_btn {
  background: #eff6ff !important;
  color: #2563eb !important;
  border: 1px solid #dbeafe !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08) !important;
}

.post_card .post-promo .advertisement_btn:hover {
  background: #dbeafe !important;
  border-color: #bfdbfe !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.16) !important;
}

/* Dark Theme Award Badges */
[data-bs-theme="dark"] .post_card .post-promo .coffee,
[data-theme="dark"] .post_card .post-promo .coffee,
body.dark-mode .post_card .post-promo .coffee,
.dark-mode .post_card .post-promo .coffee,
.dark .post_card .post-promo .coffee {
  background: rgba(251, 146, 60, 0.12) !important;
  color: #fdba74 !important;
  border: 1px solid rgba(251, 146, 60, 0.3) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

[data-bs-theme="dark"] .post_card .post-promo .coffee:hover,
[data-theme="dark"] .post_card .post-promo .coffee:hover,
body.dark-mode .post_card .post-promo .coffee:hover,
.dark-mode .post_card .post-promo .coffee:hover,
.dark .post_card .post-promo .coffee:hover {
  background: rgba(251, 146, 60, 0.22) !important;
  border-color: rgba(251, 146, 60, 0.5) !important;
}

[data-bs-theme="dark"] .post_card .post-promo .great-job,
[data-theme="dark"] .post_card .post-promo .great-job,
body.dark-mode .post_card .post-promo .great-job,
.dark-mode .post_card .post-promo .great-job,
.dark .post_card .post-promo .great-job {
  background: rgba(244, 63, 94, 0.12) !important;
  color: #fda4af !important;
  border: 1px solid rgba(244, 63, 94, 0.3) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

[data-bs-theme="dark"] .post_card .post-promo .great-job:hover,
[data-theme="dark"] .post_card .post-promo .great-job:hover,
body.dark-mode .post_card .post-promo .great-job:hover,
.dark-mode .post_card .post-promo .great-job:hover,
.dark .post_card .post-promo .great-job:hover {
  background: rgba(244, 63, 94, 0.22) !important;
  border-color: rgba(244, 63, 94, 0.5) !important;
}

[data-bs-theme="dark"] .post_card .post-promo .advertisement_btn,
[data-theme="dark"] .post_card .post-promo .advertisement_btn,
body.dark-mode .post_card .post-promo .advertisement_btn,
.dark-mode .post_card .post-promo .advertisement_btn,
.dark .post_card .post-promo .advertisement_btn {
  background: rgba(59, 130, 246, 0.12) !important;
  color: #93c5fd !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

[data-bs-theme="dark"] .post_card .post-promo .advertisement_btn:hover,
[data-theme="dark"] .post_card .post-promo .advertisement_btn:hover,
body.dark-mode .post_card .post-promo .advertisement_btn:hover,
.dark-mode .post_card .post-promo .advertisement_btn:hover,
.dark .post_card .post-promo .advertisement_btn:hover {
  background: rgba(59, 130, 246, 0.22) !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
}

/* Comment Box Footer */
.post_card .comment,
.post_card .comment-box-wrapper {
  display: flex !important;
  /* gap: 10px !important; */
  align-items: center !important;
  padding: 10px 0px 0px !important;
}

.post_card .comment .avatar,
.post_card .comment-box-wrapper .avatar {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

.post_card .comment .avatar img,
.post_card .comment-box-wrapper .avatar img {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
}

.post_card .comment-form {
  flex: 1 !important;
  margin: 0 !important;
}

.post_card .commentbox {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  min-height: 44px !important;
  border: 1px solid var(--ipd-line) !important;
  border-radius: 999px !important;
  background: var(--ipd-pill-bg) !important;
  padding: 4px 6px 4px 16px !important;
  gap: 8px !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

.post_card .commentbox:focus-within {
  border-color: var(--ipd-blue) !important;
  background: #ffffff !important;
}

.post_card .commentbox input,
.post_card .commentbox textarea,
.post_card .commentbox .mentionBox {
  flex: 1 !important;
  min-width: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  padding: 8px 0 0 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  color: var(--ipd-text) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  height: 34px !important;
  max-height: 140px !important;
  resize: none !important;
}

.post_card .commentbox .send,
.post_card .commentbox button[type="submit"] {
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--ipd-blue) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: transform 0.15s ease, opacity 0.15s ease !important;
}

.post_card .commentbox .send:hover,
.post_card .commentbox button[type="submit"]:hover {
  opacity: 0.9 !important;
  transform: scale(1.05) !important;
}

/* Mention Suggestions Box */
.post_card .mentionSuggestions,
.mentionSuggestions {
  position: absolute !important;
  top: auto !important;
  bottom: calc(100% + 6px) !important;
  left: 0 !important;
  width: 100% !important;
  max-width: 280px !important;
  background: var(--ipd-card-bg) !important;
  border: 1px solid var(--ipd-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
  max-height: 180px !important;
  overflow-y: auto !important;
  z-index: 1050 !important;
  padding: 4px 0 !important;
}

.mentionSuggestions .suggestion-item {
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ipd-blue) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: background 0.15s ease !important;
}

.mentionSuggestions .suggestion-item:hover {
  background: var(--ipd-soft) !important;
  color: var(--ipd-blue) !important;
}

.mentionSuggestions::-webkit-scrollbar {
  width: 5px;
}
.mentionSuggestions::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

@media (max-width: 760px) {
  .post_card {
    border-radius: 15px !important;
  }
  .post_card .actions .label {
    display: none;
  }
}

/* Force readable post copy text across light & dark themes */
.post_card .text-dark,
.post_card .short-text,
.post_card .full-text,
.post_card .post-copy,
.nested .text-dark,
.nested .short-text,
.nested .full-text {
  color: var(--ipd-text) !important;
}

/* Comment Bubble Styling & Dark Theme Compatibility */
.comment-item .commentdata,
.post_card .commentdata,
.post_card .bg-light {
  background: var(--ipd-pill-bg) !important;
  border: 1px solid var(--ipd-line) !important;
  border-radius: 14px !important;
  padding: 10px 14px !important;
  color: var(--ipd-text) !important;
}

.comment-item .commentdata h6,
.comment-item .commentdata h6 a,
.post_card .commentdata h6,
.post_card .commentdata h6 a {
  color: var(--ipd-text) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.comment-item .commentdata h6 a:hover,
.post_card .commentdata h6 a:hover {
  color: var(--ipd-blue) !important;
}

.comment-item .commentdata small,
.post_card .commentdata small {
  color: var(--ipd-muted) !important;
  font-size: 11.5px !important;
}

.comment-item .commentdata .cm-txt,
.comment-item .commentdata p,
.post_card .commentdata .cm-txt,
.post_card .commentdata p {
  color: var(--ipd-text) !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
}

.comment-item .commentdata a,
.post_card .commentdata a {
  color: var(--ipd-blue) !important;
  text-decoration: none !important;
}

.comment-item .translate-comment,
.post_card .translate-comment,
.post_card .translate-post {
  color: var(--ipd-muted) !important;
  font-size: 11px !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin-top: 4px !important;
}

.comment-item .translate-comment:hover,
.post_card .translate-comment:hover,
.post_card .translate-post:hover {
  color: var(--ipd-blue) !important;
}

/* Comment Action Buttons (Like, Reply, Delete) */
.comment-item .nav-divider,
.post_card .nav-divider {
  align-items: center !important;
  gap: 4px !important;
  margin-top: 4px !important;
}

.comment-item .nav-divider .nav-link,
.post_card .nav-divider .nav-link {
  color: var(--ipd-muted) !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  padding: 0 4px !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.comment-item .nav-divider .nav-link:hover,
.comment-item .nav-divider .nav-link.active,
.post_card .nav-divider .nav-link:hover,
.post_card .nav-divider .nav-link.active {
  color: var(--ipd-blue) !important;
}

.comment-item .nav-divider .nav-item + .nav-item::before,
.post_card .nav-divider .nav-item + .nav-item::before {
  color: var(--ipd-muted) !important;
  content: "\2022" !important;
  padding: 0 4px !important;
}

/* Comment Avatar Verified Circle Alignment */
.comment-item .avatar-xs {
  width: 34px !important;
  height: 34px !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.comment-item .avatar-xs img {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.comment-item .avatar-xs .bi-check-circle-fill {
  position: absolute !important;
  bottom: -2px !important;
  right: -2px !important;
  font-size: 11px !important;
  background: var(--ipd-card-bg) !important;
  border-radius: 50% !important;
}

/* Commentbox focus in dark mode */
[data-bs-theme="dark"] .post_card .commentbox:focus-within,
[data-theme="dark"] .post_card .commentbox:focus-within,
body.dark-mode .post_card .commentbox:focus-within,
.dark-mode .post_card .commentbox:focus-within,
.dark .post_card .commentbox:focus-within {
  border-color: var(--ipd-blue) !important;
  background: #1b2432 !important;
}

/* ==========================================================================
   Premium Stories Section â€” Works correctly with Zuck.js carousel
   ========================================================================== */

:root {
  --story-card-w: 105px;
  --story-card-h: 170px;
  --story-avatar-d: 42px;
  --story-radius: 16px;
  --story-font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* â”€â”€ Section wrapper â”€â”€ */
.stories-section-container {
  padding: 8px 0 4px;
  overflow: hidden;
}

.stories-scroll-wrapper {
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-wrap: nowrap;
}

.stories-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

/* ========================================
   Create-Story Card (our own markup)
   ======================================== */
.create-story-card-wrapper {
  flex-shrink: 0;
  width: var(--story-card-w);
}

.create-story-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: var(--story-card-w);
  height: var(--story-card-h);
  border-radius: var(--story-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.22s ease;
  will-change: transform;
}

.create-story-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}

.create-story-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.82);
  transition: filter 0.3s ease;
}

.create-story-card:hover .create-story-bg {
  filter: brightness(0.7);
}

.create-story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.7) 100%
  );
}

.create-story-icon-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -65%);
  z-index: 3;
}

.create-story-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2563eb;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 3px 12px rgba(37,99,235,0.5);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.create-story-card:hover .create-story-btn {
  transform: scale(1.15) rotate(90deg);
}

.create-story-footer {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 4px 9px;
}

.create-story-title {
  font-family: var(--story-font);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  display: block;
  line-height: 1.2;
}

/* ========================================
   Zuck.js â€” stories-square override
   Transform the default circle carousel into tall portrait cards
   ======================================== */

/* Container override â€” force flex row, no white-space inline */
.storiesWrapper.stories-square.carousel {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  white-space: normal !important;
  padding: 4px 2px 10px !important;
  scrollbar-width: none !important;
}

.storiesWrapper.stories-square.carousel::-webkit-scrollbar {
  display: none;
}

/* Each .story becomes a tall portrait card */
.storiesWrapper.stories-square .story {
  display: inline-flex !important;
  flex-direction: column !important;
  flex-shrink: 0 !important;
  width: var(--story-card-w) !important;
  height: var(--story-card-h) !important;
  border-radius: var(--story-radius) !important;
  overflow: hidden !important;
  position: relative !important;
  vertical-align: top !important;
  margin: 0 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18) !important;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.22s ease !important;
}

.storiesWrapper.stories-square .story:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28) !important;
}

/* The .item-link must fill the full card */
.storiesWrapper.stories-square .story > .item-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  text-align: left !important;
  position: relative !important;
  text-decoration: none !important;
}

/* .item-preview spans the full card (thumbnail background) */
.storiesWrapper.stories-square .story > .item-link > .item-preview {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  overflow: hidden !important;
  border-radius: var(--story-radius) !important;
  font-size: unset !important;
  transition: none !important;
}

/* Thumbnail image fills the card */
.storiesWrapper.stories-square .story > .item-link > .item-preview > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.35s ease !important;
  filter: brightness(0.85) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
}

.storiesWrapper.stories-square .story:hover > .item-link > .item-preview > img {
  transform: scale(1.05) !important;
  filter: brightness(0.75) !important;
}

/* Dark gradient overlay (bottom fade) */
.storiesWrapper.stories-square .story > .item-link::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: var(--story-radius) !important;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.75) 100%
  ) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* ── Injected Avatar Circle (top-left of each story card) ── */
.storiesWrapper.stories-square .story > .item-link > .story-avatar-circle {
  display: block !important;
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  padding: 2.5px !important;
  /* Instagram-style gradient ring */
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  z-index: 4 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35) !important;
  transition: transform 0.2s ease !important;
  pointer-events: none !important;
}

/* Seen story — muted grey ring */
.storiesWrapper.stories-square .story.seen > .item-link > .story-avatar-circle,
.storiesWrapper.stories-square .story > .item-link > .story-avatar-circle.seen {
  background: rgba(180, 185, 196, 0.85) !important;
}

.storiesWrapper.stories-square .story:hover > .item-link > .story-avatar-circle {
  transform: scale(1.08) !important;
}

/* Avatar image inside the ring */
.storiesWrapper.stories-square .story > .item-link > .story-avatar-circle > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #fff !important;
  box-shadow: none !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  filter: none !important;
}

/* Username label at bottom */
.storiesWrapper.stories-square .story > .item-link > .info {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 8px 8px 9px !important;
  z-index: 2 !important;
  display: block !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

.storiesWrapper.stories-square .story > .item-link > .info .name {
  display: block !important;
  font-family: var(--story-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  width: 100% !important;
}

.storiesWrapper.stories-square .story > .item-link > .info .time {
  display: none !important;
}

/* items list hidden (always) */
.storiesWrapper.stories-square .story > .items {
  display: none !important;
}

/* ========================================
   Skeleton loader cards
   ======================================== */
.story-skeleton-wrap {
  display: flex;
  gap: 8px;
  padding: 4px 0;
}

.story-skeleton-item {
  flex-shrink: 0;
  width: var(--story-card-w);
  height: var(--story-card-h);
  border-radius: var(--story-radius);
  background: linear-gradient(90deg, #e0e5eb 25%, #f0f3f7 50%, #e0e5eb 75%);
  background-size: 400% 100%;
  animation: story-shimmer 1.4s infinite ease-in-out;
}

@keyframes story-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Hide skeleton once stories load */
#stories .story-skeleton-wrap {
  display: none !important;
}

/* ========================================
   Dark Mode
   ======================================== */
[data-bs-theme="dark"] .story-skeleton-item,
[data-theme="dark"] .story-skeleton-item,
body.dark-mode .story-skeleton-item {
  background: linear-gradient(90deg, #1e2a3a 25%, #253347 50%, #1e2a3a 75%) !important;
  background-size: 400% 100% !important;
}

[data-bs-theme="dark"] .create-story-card,
[data-theme="dark"] .create-story-card,
body.dark-mode .create-story-card {
  box-shadow: 0 2px 16px rgba(0,0,0,0.5) !important;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 576px) {
  :root {
    --story-card-w: 90px;
    --story-card-h: 148px;
    --story-avatar-d: 36px;
  }
}

/* ==========================================================================
   Create Story Page & Tabs Dark/Light Mode Styling
   ========================================================================== */

.create-story-main-card {
  background: var(--ipd-card-bg, #ffffff) !important;
  border: 1px solid var(--ipd-border, rgba(0, 0, 0, 0.08)) !important;
  box-shadow: var(--ipd-shadow, 0 14px 34px rgba(30, 50, 80, 0.07)) !important;
}

.create-story-main-card .card-header {
  background: transparent !important;
  border-bottom: 1px solid var(--ipd-line, #e4e9f0) !important;
}

.create-story-main-card .card-title-text,
.create-story-main-card h4,
.create-story-main-card h6 {
  color: var(--ipd-text, #172033) !important;
}

.create-story-main-card .form-label {
  color: var(--ipd-text, #172033) !important;
}

/* Nav Pills (Add Story / My Stories tabs) */
.custom-story-pills .nav-link {
  background: var(--ipd-pill-bg, #f8fafc) !important;
  color: var(--ipd-muted, #667085) !important;
  border: 1px solid var(--ipd-line, #e4e9f0) !important;
  transition: all 0.2s ease !important;
}

.custom-story-pills .nav-link:hover {
  background: var(--ipd-soft, #eff6ff) !important;
  color: var(--ipd-blue, #2563eb) !important;
}

.custom-story-pills .nav-link.active {
  background: var(--ipd-blue, #2563eb) !important;
  color: #ffffff !important;
  border-color: var(--ipd-blue, #2563eb) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

/* Upload Dropzone */
.story-upload-zone {
  background: var(--ipd-pill-bg, #f8fafc) !important;
  border-color: var(--ipd-line, #cbd5e1) !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

.story-upload-zone:hover {
  border-color: var(--ipd-blue, #2563eb) !important;
  background: var(--ipd-soft, rgba(37, 99, 235, 0.05)) !important;
}

/* Form Controls (Textarea & File Input) */
.create-story-main-card .form-control {
  background: var(--ipd-pill-bg, #f8fafc) !important;
  border: 1px solid var(--ipd-line, #cbd5e1) !important;
  color: var(--ipd-text, #172033) !important;
}

.create-story-main-card .form-control:focus {
  background: var(--ipd-card-bg, #ffffff) !important;
  border-color: var(--ipd-blue, #2563eb) !important;
  box-shadow: 0 0 0 3px var(--ipd-soft, rgba(37, 99, 235, 0.15)) !important;
  color: var(--ipd-text, #172033) !important;
}

/* Table in My Stories Tab */
.create-story-main-card .table-responsive {
  border: 1px solid var(--ipd-line, #e4e9f0) !important;
}

.create-story-main-card .table {
  color: var(--ipd-text, #172033) !important;
  background: transparent !important;
}

.create-story-main-card .story-table-head,
.create-story-main-card .story-table-head th {
  background: var(--ipd-pill-bg, #f8fafc) !important;
  color: var(--ipd-text, #172033) !important;
  border-bottom: 1px solid var(--ipd-line, #e4e9f0) !important;
  font-weight: 700 !important;
}

.create-story-main-card tbody tr {
  border-bottom: 1px solid var(--ipd-line, #e4e9f0) !important;
  background: transparent !important;
}

.create-story-main-card tbody td {
  color: var(--ipd-text, #172033) !important;
  background: transparent !important;
}

.story-caption-text {
  color: var(--ipd-text, #172033) !important;
}

/* Specific Dark Mode Overrides */
[data-bs-theme="dark"] .create-story-main-card,
[data-theme="dark"] .create-story-main-card,
body.dark-mode .create-story-main-card {
  background: var(--ipd-card-bg, #151f2e) !important;
  border-color: var(--ipd-border, rgba(255, 255, 255, 0.08)) !important;
}

[data-bs-theme="dark"] .custom-story-pills .nav-link,
[data-theme="dark"] .custom-story-pills .nav-link,
body.dark-mode .custom-story-pills .nav-link {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--ipd-muted, #94a3b8) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .custom-story-pills .nav-link:hover,
[data-theme="dark"] .custom-story-pills .nav-link:hover,
body.dark-mode .custom-story-pills .nav-link:hover {
  background: rgba(59, 130, 246, 0.2) !important;
  color: var(--ipd-blue, #3b82f6) !important;
}

[data-bs-theme="dark"] .custom-story-pills .nav-link.active,
[data-theme="dark"] .custom-story-pills .nav-link.active,
body.dark-mode .custom-story-pills .nav-link.active {
  background: var(--ipd-blue, #3b82f6) !important;
  color: #ffffff !important;
  border-color: var(--ipd-blue, #3b82f6) !important;
}

[data-bs-theme="dark"] .story-upload-zone,
[data-theme="dark"] .story-upload-zone,
body.dark-mode .story-upload-zone {
  background: #0d1520 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-bs-theme="dark"] .create-story-main-card .form-control,
[data-theme="dark"] .create-story-main-card .form-control,
body.dark-mode .create-story-main-card .form-control {
  background: #0d1520 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .create-story-main-card .form-control:focus,
[data-theme="dark"] .create-story-main-card .form-control:focus,
body.dark-mode .create-story-main-card .form-control:focus {
  background: #151f2e !important;
  border-color: var(--ipd-blue, #3b82f6) !important;
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .create-story-main-card .story-table-head,
[data-bs-theme="dark"] .create-story-main-card .story-table-head th,
[data-theme="dark"] .create-story-main-card .story-table-head th,
body.dark-mode .create-story-main-card .story-table-head th {
  background: #0d1520 !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .create-story-main-card tbody tr,
[data-theme="dark"] .create-story-main-card tbody tr,
body.dark-mode .create-story-main-card tbody tr {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .story-caption-text,
[data-theme="dark"] .story-caption-text,
body.dark-mode .story-caption-text {
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .story-upload-zone h6,
[data-theme="dark"] .story-upload-zone h6,
body.dark-mode .story-upload-zone h6 {
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .story-upload-zone p,
[data-theme="dark"] .story-upload-zone p,
body.dark-mode .story-upload-zone p {
  color: #94a3b8 !important;
}

/* ==========================================================================
   Upgraded Modern Post Text & Post Card Design System (Matching Screenshots)
   ========================================================================== */

/* Modern Card Styling */
.post_card {
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  overflow: hidden;
  margin-bottom: 20px !important;
}

[data-bs-theme="dark"] .post_card,
.dark-mode .post_card,
.dark-theme .post_card {
  background: #18191c !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

/* Post Text Section */
.post-text-section {
  padding: 14px 6px 16px 6px;
}

.post-text-section .post-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.01em;
}

[data-bs-theme="dark"] .post-text-section .post-title,
.dark-mode .post-text-section .post-title,
.dark-theme .post-text-section .post-title {
  color: #f8fafc !important;
}

.post-text-section .post-body-paragraph {
  font-size: 0.975rem !important;
  line-height: 1.65 !important;
  color: #334155 !important;
  font-weight: 400 !important;
  margin-bottom: 12px !important;
}

[data-bs-theme="dark"] .post-text-section .post-body-paragraph,
.dark-mode .post-text-section .post-body-paragraph,
.dark-theme .post-text-section .post-body-paragraph {
  color: #cbd5e1 !important;
}

/* Modern Clickable Hashtags */
.post-hashtag {
  color: #1877f2 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 4px;
  transition: color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.post-hashtag:hover {
  color: #0d6efd !important;
  opacity: 0.85;
  transform: translateY(-1px);
}

/* Stats Section (Reactions & Interactions Bar) */
.post_card .stats {
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 12px 6px !important;
  margin: 14px 0 !important;
}

[data-bs-theme="dark"] .post_card .stats,
.dark-mode .post_card .stats,
.dark-theme .post_card .stats {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.reaction-badges-stack {
  display: inline-flex;
  align-items: center;
  position: relative;
  height: 24px;
}

.reaction-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #ffffff !important;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  margin-right: -7px;
  position: relative;
  transition: transform 0.2s ease;
}

[data-bs-theme="dark"] .reaction-badge,
.dark-mode .reaction-badge,
.dark-theme .reaction-badge {
  border-color: #18191c !important;
}

.reaction-badge.badge-heart {
  background: #f43f5e !important;
  z-index: 2;
}

.reaction-badge.badge-like {
  background: #1877f2 !important;
  z-index: 1;
}

/* Upgraded 4 Action Pill Buttons Row */
.post-actions-buttons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
  padding-bottom: 4px;
}

/* Custom 3 Promo Action Pill Buttons (Matching Image 2) */
.post-promo-buttons-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 12px 12px;
  flex-wrap: wrap;
}

.btn-promo-pill {
  border-radius: 50px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  padding: 8px 20px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease !important;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none !important;
}

.btn-promo-pill span,
.btn-promo-pill i {
  font-weight: 500 !important;
}

/* 1. Cup of Coffee Button */
.btn-promo-pill.award_coc {
  background-color: #fff9f2 !important;
  color: #e65100 !important;
  border: 1.5px solid #ffe0b2 !important;
}

.btn-promo-pill.award_coc:hover {
  background-color: #ffe0b2 !important;
  color: #bf360c !important;
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.15) !important;
}

/* 2. Great Job Button */
.btn-promo-pill.award_gj {
  background-color: #fff0f3 !important;
  color: #e11d48 !important;
  border: 1.5px solid #ffccd5 !important;
}

.btn-promo-pill.award_gj:hover {
  background-color: #ffccd5 !important;
  color: #9f1239 !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15) !important;
}

/* 3. Advertise Here Button */
.btn-promo-pill.advertisement_btn {
  background-color: #edf5ff !important;
  color: #2563eb !important;
  border: 1.5px solid #bfdbfe !important;
}

.btn-promo-pill.advertisement_btn:hover {
  background-color: #bfdbfe !important;
  color: #1d4ed8 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

/* Dark Mode Adaptations */
[data-bs-theme="dark"] .btn-promo-pill.award_coc,
.dark-mode .btn-promo-pill.award_coc,
.dark-theme .btn-promo-pill.award_coc {
  background-color: rgba(230, 81, 0, 0.15) !important;
  color: #ffb74d !important;
  border-color: rgba(255, 183, 77, 0.3) !important;
}

[data-bs-theme="dark"] .btn-promo-pill.award_gj,
.dark-mode .btn-promo-pill.award_gj,
.dark-theme .btn-promo-pill.award_gj {
  background-color: rgba(225, 29, 72, 0.15) !important;
  color: #fda4af !important;
  border-color: rgba(253, 164, 175, 0.3) !important;
}

[data-bs-theme="dark"] .btn-promo-pill.advertisement_btn,
.dark-mode .btn-promo-pill.advertisement_btn,
.dark-theme .btn-promo-pill.advertisement_btn {
  background-color: rgba(37, 99, 235, 0.15) !important;
  color: #93c5fd !important;
  border-color: rgba(147, 197, 253, 0.3) !important;
}

/* Responsive Scaling for Mobile Screens */
@media (max-width: 576px) {
  .post-actions-buttons-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .btn-action-pill {
    flex: 1 1 calc(50% - 8px);
    font-size: 0.82rem !important;
    padding: 8px 12px !important;
  }
}

/* ==========================================================================
   Media Card Overlay Layout System (Matching Image 1 Target Design)
   ========================================================================== */

/* When card has media or is media-card-style */
.post_card.media-card-style {
  position: relative !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin-top: 0 !important;
  background: #ffffff !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-bs-theme="dark"] .post_card.media-card-style,
.dark-mode .post_card.media-card-style,
.dark-theme .post_card.media-card-style {
  background: #18191c !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3) !important;
}

/* Header Overlaid on Media Top - 0px Top Left Right spacing */
.post_card.media-card-style,
.post_card[class*="media-card-style"] {
  padding: 0 !important;
  margin-top: 0 !important;
  overflow: hidden !important;
  border-radius: 20px !important;
}

.post_card.media-card-style > .card-header,
.post_card.media-card-style > .head,
.post_card.media-card-style .card-header.head {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  z-index: 25 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%) !important;
  padding: 14px 16px !important;
  border: none !important;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}

.post_card.media-card-style .card-header.head .identity,
.post_card.media-card-style .card-header.head .identity *,
.post_card.media-card-style .card-header.head .name a,
.post_card.media-card-style .card-header.head .name,
.post_card.media-card-style .card-header.head .timeago,
.post_card.media-card-style .card-header.head .meta,
.post_card.media-card-style .card-header.head .meta i,
.post_card.media-card-style .card-header.head .menu-btn,
.post_card.media-card-style .card-header.head .menu-btn i {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
}

/* Ensure Dropdown Menu inside header has clear, readable text & no text shadow */
.post_card.media-card-style .card-header.head .dropdown-menu,
.post_card.media-card-style .card-header.head .dropdown-menu *,
.post_card.media-card-style .card-header.head .dropdown-item,
.post_card.media-card-style .card-header.head .dropdown-item i,
.post_card.media-card-style .card-header.head .dropdown-item a,
.post_card.media-card-style .card-header.head .dropdown-item span {
  color: #212529 !important;
  text-shadow: none !important;
}

[data-bs-theme="dark"] .post_card.media-card-style .card-header.head .dropdown-menu,
.dark-mode .post_card.media-card-style .card-header.head .dropdown-menu,
.dark-theme .post_card.media-card-style .card-header.head .dropdown-menu,
[data-bs-theme="dark"] .post_card.media-card-style .card-header.head .dropdown-menu *,
.dark-mode .post_card.media-card-style .card-header.head .dropdown-menu *,
.dark-theme .post_card.media-card-style .card-header.head .dropdown-menu *,
[data-bs-theme="dark"] .post_card.media-card-style .card-header.head .dropdown-item,
.dark-mode .post_card.media-card-style .card-header.head .dropdown-item,
.dark-theme .post_card.media-card-style .card-header.head .dropdown-item {
  color: #e4e6eb !important;
  background-color: #242526 !important;
  text-shadow: none !important;
}

.post_card.media-card-style .card-header.head .verified {
  color: #1877f2 !important;
}

.post_card.media-card-style .card-header.head .menu-btn i {
  color: #ffffff !important;
  font-size: 1.25rem !important;
}

.post_card.media-card-style > .inner_post,
.post_card.media-card-style .inner_post {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Media Container Wrapper - Zero Spacing Top, Left, Right */
.media-container-wrapper,
.post_card.media-card-style .media-container-wrapper {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000000 !important;
  overflow: hidden !important;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}

.post_card.media-card-style .dashboard_player,
.post_card.media-card-style .image-grid-wrapper {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.media-container-wrapper video,
.post_card.media-card-style video,
.post_card.media-card-style .dashboard_player video,
.dashboard_player video {
  width: 100% !important;
  max-height: 540px !important;
  object-fit: contain !important;
  background: #000000 !important;
  background-color: #000000 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}

.media-container-wrapper img,
.post_card.media-card-style img,
.post_card.media-card-style .post-image {
  width: 100% !important;
  max-height: 540px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}

/* Center Play Button Overlay */
.media-center-play-btn {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 15 !important;
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 2.5px solid rgba(255, 255, 255, 0.9) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 28px !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, background 0.2s ease !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

.media-center-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08) !important;
  background: rgba(0, 0, 0, 0.55) !important;
}

/* Hidden state for Center Play Button when video is playing */
.media-center-play-btn.v-hidden,
.media-center-play-btn.is-hidden,
.media-center-play-btn.playing,
.media-container-wrapper.is-playing .media-center-play-btn,
.dashboard_player.is-playing .media-center-play-btn,
.dashboard_player.is-playing ~ .media-center-play-btn,
.dashboard_player.is-playing + .media-center-play-btn,
.post_card.is-playing .media-center-play-btn {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

/* Audio Track Info Overlay (Bottom-Left) */
.media-audio-badge {
  position: absolute !important;
  bottom: 16px !important;
  left: 16px !important;
  z-index: 15 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px !important;
  padding: 8px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25) !important;
}

.media-audio-badge .audio-icon-box {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
}

.media-audio-badge .audio-info {
  display: flex !important;
  flex-direction: column !important;
}

.media-audio-badge .audio-title {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}

.media-audio-badge .audio-subtitle {
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.2 !important;
}

/* Video Duration Overlay (Bottom-Right) */
.media-duration-badge {
  position: absolute !important;
  bottom: 18px !important;
  right: 18px !important;
  z-index: 15 !important;
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
  letter-spacing: 0.5px !important;
}

/* Below Media Content Container */
.post_card.media-card-style .post-card-body {
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
}

.post_card.media-card-style .post-text-section {
  padding: 12px 20px !important;
}

.post_card.media-card-style .comment,
.post_card.media-card-style .comment-box-wrapper {
  padding: 10px 18px 12px 18px !important;
}

[data-bs-theme="dark"] .post_card.media-card-style .post-card-body,
.dark-mode .post_card.media-card-style .post-card-body,
.dark-theme .post_card.media-card-style .post-card-body {
  background: #18191c !important;
}

.post-copy {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ipd-text, #1c1e21);
}

/* Profile Update Card Theme & Dark Mode Styling */
.profile-update-card {
  background: var(--ipd-bg, #ffffff) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.profile-update-user-info h5,
.profile-update-user-info .profile-user-name {
  color: var(--ipd-text, #1c1e21) !important;
}

.profile-update-user-info p,
.profile-update-user-info .profile-user-sub {
  color: #8a8d91 !important;
}

/* Dark theme specific overrides */
[data-bs-theme="dark"] .profile-update-card,
.dark-mode .profile-update-card,
.dark-theme .profile-update-card {
  background: #1e2025 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .profile-update-user-info h5,
.dark-mode .profile-update-user-info h5,
.dark-theme .profile-update-user-info h5,
[data-bs-theme="dark"] .profile-update-user-info .profile-user-name,
.dark-mode .profile-update-user-info .profile-user-name,
.dark-theme .profile-update-user-info .profile-user-name {
  color: #ffffff !important;
}

[data-bs-theme="dark"] .profile-update-avatar-box img,
.dark-mode .profile-update-avatar-box img,
.dark-theme .profile-update-avatar-box img {
  border-color: #1e2025 !important;
}

/* Lock Profile Update Avatar Box & Image to exact 1:1 Aspect Ratio Circle */
.profile-update-avatar-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: -65px !important;
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
}

.profile-update-avatar-box {
  width: 130px !important;
  height: 130px !important;
  min-width: 130px !important;
  min-height: 130px !important;
  max-width: 130px !important;
  max-height: 130px !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
}

.profile-update-avatar-box img {
  width: 130px !important;
  height: 130px !important;
  min-width: 130px !important;
  min-height: 130px !important;
  max-width: 130px !important;
  max-height: 130px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  aspect-ratio: 1 / 1 !important;
}




